import { userApi } from "./modules/user";
import { articleApi } from "./modules/article";
import { chatApi } from "./modules/chat";
import { notificationApi } from "./modules/notification";
import { breezemoonsApi } from "./modules/breezemoons";
import { activityApi } from "./modules/activity";
import { getApiKey, setApiKey, clearApiKey, isLoggedIn } from "./request";
import { getLatestVersion, compareVersions } from "./version";
import {
  submitFeedback,
  getFeedbackList,
  getFeedbackDetail,
  getUserFeedbacks,
  deleteFeedback,
} from "./feedback";

export {
  userApi,
  articleApi,
  chatApi,
  notificationApi,
  breezemoonsApi,
  activityApi,
  getApiKey,
  setApiKey,
  clearApiKey,
  isLoggedIn,
  getLatestVersion,
  compareVersions,
  submitFeedback,
  getFeedbackList,
  getFeedbackDetail,
  getUserFeedbacks,
  deleteFeedback,
};

export default {
  user: userApi,
  article: articleApi,
  chat: chatApi,
  notification: notificationApi,
  breezemoons: breezemoonsApi,
  activity: activityApi,
  getApiKey,
  setApiKey,
  clearApiKey,
  isLoggedIn,
  getLatestVersion,
  compareVersions,
  submitFeedback,
  getFeedbackList,
  getFeedbackDetail,
  getUserFeedbacks,
  deleteFeedback,
};
